package Model.Dominio;

import java.util.ArrayList;
public class TipoVeiculo {
	
	private ArrayList<Veiculo> veiculo;
	private double taxaBase;
	private double precoKm;
	private int idTipoVeiculo;


	private String tipov;
	
	public TipoVeiculo(){
	}
	
	public TipoVeiculo(String tipov, double taxaBase){
		this.veiculo = new ArrayList<Veiculo>();
		this.tipov = tipov;
		this.taxaBase = taxaBase;		
	}
	
	public TipoVeiculo(String tipov, double taxaBase, double precoKm){
		this.veiculo = new ArrayList<Veiculo>();
		this.tipov = tipov;
		this.taxaBase = taxaBase;
		this.precoKm = precoKm;
	}

	public String toString() {
		return "Veiculo=" + this.veiculo + ", taxaBase=" + this.taxaBase
				+ ", precoKm=" + this.precoKm + ", tipov=" + this.tipov + "]\n";
	}

	public int getIdTipoVeiculo() {
		return idTipoVeiculo;
	}

	public void setIdTipoVeiculo(int idTipoVeiculo) {
		this.idTipoVeiculo = idTipoVeiculo;
	}
	
	public double getTaxaBase() {
		return taxaBase;
	}
	public void setTaxaBase(double taxaBase) {
		this.taxaBase = taxaBase;
	}
	public double getPrecoKm() {
		return precoKm;
	}
	public void setPrecoKm(double precoKm) {
		this.precoKm = precoKm;
	}
	public String getTipov() {
		return tipov;
	}
	public void setTipov(String tipov) {
		this.tipov = tipov;
	}
}
